import request from '@/utils/request'

// 查询上传信息列表
export function listSchoolpush(query) {
  return request({
    url: '/school/schoolpush/list',
    method: 'get',
    params: query
  })
}

// 查询上传信息详细
export function getSchoolpush(id) {
  return request({
    url: '/school/schoolpush/' + id,
    method: 'get'
  })
}

// 新增上传信息
export function addSchoolpush(data) {
  return request({
    url: '/school/schoolpush',
    method: 'post',
    data: data
  })
}

// 修改上传信息
export function updateSchoolpush(data) {
  return request({
    url: '/school/schoolpush',
    method: 'put',
    data: data
  })
}

// 删除上传信息
export function delSchoolpush(id) {
  return request({
    url: '/school/schoolpush/' + id,
    method: 'delete'
  })
}
